var arr = [12,34,32,89,4]

let a = Math.min(...arr)
console.log(a)